package com.joysuch.wwyt.openapi.services.serviceV1;

import com.joysuch.wwyt.core.exception.ApiCoreException;
import com.joysuch.wwyt.dzhapi.dto.BuildDataDto;
import com.joysuch.wwyt.openapi.controllers.controllerV1.req.*;
import com.joysuch.wwyt.openapi.controllers.controllerV1.vo.ApiPagePropertyDataVo;
import com.joysuch.wwyt.openapi.controllers.controllerV1.vo.ApiResultData;
import com.joysuch.wwyt.openapi.controllers.controllerV1.vo.ApiV1BpJobVo;
import com.joysuch.wwyt.openapi.exception.ApiV1ExceptionCodeMsg;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * @author: JamesZY
 * @date: 2021/8/24
 * @description:
 */
public interface ApiV1BpJobService {
    List<ApiResultData> batchAdd(List<ApiV1BpJobReq> req, BuildDataDto buildDataDto);

    void update(ApiV1BpJobUpdateReq data, BuildDataDto buildDataDto) throws ApiV1ExceptionCodeMsg;

    List<ApiResultData> deleteByIds(List<String> ids, BuildDataDto buildDataDto);

    ApiPagePropertyDataVo searchAll(ApiV1BpJobQueryReq req, BuildDataDto buildDataDto) throws ApiV1ExceptionCodeMsg;
}
